
#ifndef GH_APP_H_INCLUDED
#define GH_APP_H_INCLUDED

#define GH_APP_NAME "cu.triangle"
#define GH_APP_VIEWPORT_WIDTH 768
#define GH_APP_VIEWPORT_HEIGHT 768
#define GH_APP_VSYNC 0
#define GH_APP_TRACE 1

int ghAppBegin();
int ghAppFrame(double dt, double time);
int ghAppEnd();
int ghAppMouseCallback(int x, int y, int action);

enum { GH_MOUSE_DOWN, GH_MOUSE_UP, GH_MOUSE_MOVE };

#endif
